import { IToolTip } from "../manager/IToolTip";
//class BaseToolTip
    
    export  class BaseToolTip /* flash.display.Sprite */ implements IToolTip
    {
        constructor()
        {
            
            this.contentContainer = new Object /* flash.display.Sprite */();
            return;
        }

        protected updateSize(arg1: number, arg2: number): void
        {
            return;
        }

        public set data(arg1)
        {
            this._width = this.contentContainer.width + this.paddingLeft + this.paddingRight;
            this._height = this.contentContainer.height + this.paddingTop + this.paddingBottom;
            this.contentContainer.y = this.paddingTop;
            this.contentContainer.x = this.paddingLeft;
            this.updateSize(this._width, this._height);
            return;
        }

        public /* override */ get width(): number
        {
            return this._width;
        }

        public /* override */ get height(): number
        {
            return this._height;
        }

        protected /* var */paddingTop: number=5;

        protected /* var */paddingBottom: number=5;

        protected /* var */paddingLeft: number=5;

        protected /* var */paddingRight: number=5;

        protected /* var */_width: number;

        protected /* var */_height: number;

        protected /* var */contentContainer: Object /* flash.display.DisplayObjectContainer */;
    }
